package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;
import java.util.Map;

/**
 * @version 1.0
 * @Description:
 * @time: 2020/10/23 16:28
 * @author: Rock
 */
@Data
@Document("version_updates")
public class VersionUpdates {
    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    private String remark;

    private String updateid;

    private Map<String, String> tx;

    @Field("yingyongbao_market")
    private Map<String, String> yingyongbaoMarket;

    private String publisher;

    //发布状态
    private Integer status;

    @Field("forceUpdate_status")
    private Integer forceUpdateStatus;
    //记录创建者
    private String creater;

    //设置强制更新者
    @Field("forceUpdate_user")
    private String forceUpdateUser;

    //强制更新状态设置/更新时间
    @Field("forceUpdate_time")
    private Date forceUpdateTime;

    //创建时间
    private Date createtime;
    //修改时间
    private Date modifytime;
    //发布时间
    private Date publishtime;

}
